<?php
class Application_Model_DbTable_Business extends Zend_Db_Table_Abstract
{
    protected $_name = 'business';
    
    protected $_dependTables = array(
        'Application_Model_DbTable_Classes',
    );
    
    protected $_referenceMap = array(
        'Users' => array(
            'colums'=>'user_id',
            'refTableClass'=>'Application_Model_DbTable_Users',
            'onDelete'=> self::CASCADE,
        ),
        'Types' => array(
            'colums'=>'type_id',
            'refTableClass'=>'Application_Model_DbTable_Types',
            'onDelete'=>self::CASCADE,
        ));

}

